package br.mestrado.unb.bs.model.sensor;

public abstract class Payload implements PayloadInterface{

	protected byte battery;
	protected byte size;
	protected byte category;
	protected byte sampleFrequency;
	
	public abstract byte getCategory();
	
	public byte getBattery() {
		return battery;
	}
	public void setBattery(byte battery) {
		this.battery = battery;
	}
	
	public void setSize(byte size) {
		this.size = size;
	}
	public void setCategory(byte category) {
		this.category = category;
	}
	public final byte getSampleFrequency() {
		return sampleFrequency;
	}
	public final void setSampleFrequency(byte sampleFrequency) {
		this.sampleFrequency = sampleFrequency;
	}

}
